import { EventEmitter2 as EventEmitter } from "@nestjs/event-emitter";
import { EmitterFunc } from "src/constant";

export type EventEmitter2 = EmitterFunc & Omit<EventEmitter, "emit" | "emitAsync">;

export const EventEmitter2 = EventEmitter;
